import request from '@/utils/request'
import { AxiosResponse } from 'axios'
import { GetAllTagRes } from './type'

enum TAG_API {
  GET_ALL_TAG = '/tag/getAll',
}

/**
 * 查询全部标签
 * @returns
 */
export const reqGetAllTag = () =>
  request.get<any, AxiosResponse<GetAllTagRes>>(TAG_API.GET_ALL_TAG)
